home *** CD-ROM | disk | FTP | other *** search
/ TOS Silver 2000 / TOS Silver 2000.iso / Falcon / CENTEK / CENTEK.DOC / ARCHITEC.TXT < prev    next >
Encoding:
Text File  |  1999-01-14  |  4.1 KB  |  88 lines

  1.         ***************************************
  2.         * CENTurbo II B HARDWARE ARCHITECTURE *
  3.         ***************************************
  4.         
  5.         (c) January 99, Rodolphe Czuba - CENTEK
  6.         
  7.         
  8. 1/ PRESENTATION
  9.  
  10. As you can see on the picture 'ARCHITEC.GIF', the hardware architecture of 
  11. the CT2 is built with two 32-Bit buses, adverse the Falcon built with a 
  12. 16-Bit DATA bus (except the 32-Bit DATA bus between ST-Ram and VIDEL).
  13.  
  14. The FAST-Ram of the CT2 considerably increases the performances of the
  15. Falcon which have only a 16-Bit singe memory (ST-Ram) used by both the CPU
  16. and the VIDEO/SOUND/SCSI chips.
  17. You can now run the programs in True Color mode as quick as in 16 colors 
  18. mode because the programs executions are not decreased by the big video 
  19. modes accesses ! 
  20. More, the BURST READ mode of the 68030 is now used to read and cache 
  21. 4 LONGWORDS with only 11 CPU (50MHz) cycles !
  22. The WRITE accesses have been improved from 6 (REV A) to 4 cycles at 50 MHz !
  23.  
  24. In fact, the Falcon becomes a simple 16-Bit Super I/O card managed by the 
  25. CENTurbo II...
  26. So, the ST-Ram becomes the VIDEO/SOUND/SCSI ram; what it is called 'CHIP-Ram'
  27. in the AMIGA world: the ram uses by the chips (BLITTER, VIDEO, SOUND, SCSI).
  28. The FAST-Ram becomes the MAIN ram which must be used as much as possible by 
  29. the CPU. This architecture is near the one of the PC... 
  30.  
  31. The heart of the CT2 is done with 2 chipsets named ANNA & THALIE which 
  32. manage the following features:
  33.  
  34. ANNA:
  35. - 60ns EDO DRAM 50 MHz Controller performing BURST READING with 5,2,2,2 clock
  36.   cycles at 50 MHz (real 32.5 MB/s) and WRITING with 4 clock cycles at
  37.   50 MHz (real 38 MB/s !). See the benchs...
  38. - Hardware Watchdog of 6 us.
  39. - Generation of the 500 kHz clock for the two ACIA. 
  40.  
  41. THALIE:
  42. - FPU communication.
  43. - Logical interface to access the Falcon 68000 bus at 50 MHz.
  44. - DATA buffers.
  45. - Accesses to the FLASH at 50 MHz.
  46. - Accesses to the DSP at 50 MHz.
  47. - Accesses to the ACIAs at 50 MHz.
  48. - Accesses to/from the SDMA in SLAVE/MASTER mode.
  49. - INTerrupt level 4 and 2 (VBL and HBL).
  50. - Clocks (except for the ACIAs).
  51. - CT2 setting registers.
  52.  
  53.  
  54. 2/ NEW METHODS
  55.  
  56. Like on the PHENIX, many software developers have to change their
  57. programming methods of the Falcon because, in many cases, the use of the
  58. FAST-Ram by the CPU is very more advantageous than the use of any others
  59. techniques designed to avoid the slowness of the ST-Ram.
  60. This is a fact for those who have used the DSP to compute things that can
  61. now be computed faster by the CPU in FAST-Ram. Programmers have now to use
  62. the DSP only for the things for what it was originally designed (matrix,
  63. FFT, and so...), and don't forget that the time to transfer to and from the
  64. DSP (by a 8-Bit bus !) is became very important opposite to the time about
  65. the FAST-Ram.
  66.  
  67. Furthermore, an important effort must be done to code LONGWORDs and align
  68. the code (C programmers: code with ASM !) at least on 32-Bit boundaries,
  69. or better, on 16 bytes boundaries (4 LONGWORDs = 1 cache LINE).
  70. This is necessary if you want to use the CACHE BURST at the better
  71. performances.
  72. Meanwhile, you have to know that the 'WRAP AROUND' of the 030 is set OFF by 
  73. the CT2 to avoid a performances decrease with the majority of the softwares 
  74. which don't respect the alignments on 32-Bit boundaries.
  75. The VL-BURST (Variable Length) allows the CPU to fill only the end of the 
  76. cache line without filling the begining of this line.
  77. By example, if you run code at $01025480, the CPU bursts an entierely line 
  78. of the cache from the addresses $01025480, $01025484, $01025488 and
  79. $0102548C.
  80. If the CPU begins to burst from $01025488, it will stop after reading the 
  81. second LONGWORD at $0102548C and will not go to read the two first LONGWORDs
  82. at $01025480 and $01025484 ! What it would have done with the WRAP AROUND...
  83. In the most cases, 4 CPU cycles (2+2) are economised because  it is rare the 
  84. CPU needs these two first LONGWORDs, except with some not very used 
  85. addressing modes...
  86.  
  87. For more informations about the caches of the 68030, please refer to the 
  88. '68030 USER'S MANUAL' (chapters 6 & 7) from MOTOROLA.